package com.zn.utils
{
    import com.zn.loading.ZipLoader;

    public class XMLUtil
    {
        public static var zipLoaderList:Array=[];

        public static function getXML(name:String):XML
        {
			
            var str:String;
			var zipLoader:ZipLoader;
			
			for (var i:int = 0; i < zipLoaderList.length; i++) 
			{
				zipLoader=zipLoaderList[i];
				str=zipLoader.getStrByName(name);
				if(!StringUtil.isEmpty(str))
					return XML(str);
			}
			return null;
        }
    }
}